<?php
/**
 * eBay Label Printing Program Sign Up Form Class 
 * This is a Form Class , it provide the Normal sign up Form 
 * @package  eBayLabelPrinter
 * @category Forms
 * @author   Norman Dong <norman.dong@hotmail.com>
 * @version  Initial
 * @copyright LeadCasket.com
 * @link     www.leadcasket.com
 * @license  Commercial
 * @todo   At the moment , this is NO validuator at all , I assue all input is correct
 */
class Form_Signup extends Zend_Form

{	
	
	public function init(){
		
		//Zend_Dojo::enableForm($this);
		}
	/**
	 * Form construct function 
	 * Form have The following Elements 
	 * userEbayID,user Email, passwod ,unzip password , password hint ,
	 * password hint, 
	 * @param int $idLabelProfile  The Label Profile ID
	 * @return array The Label Profile Array
	 */
	
    public function __construct($options = null)

    {

        parent::__construct($options);

        //$this->setName('quicksignup');

        $userNameSeller = new Zend_Form_Element_Text('username_seller');

        $userNameSeller->setLabel('Your eBay User Name');

        $userEmailSeller = new Zend_Form_Element_Text('user_email_seller');

        $userEmailSeller->setLabel('Your Contact Email');
		
		$passwordSeller = new Zend_Form_Element_Password('password_seller')	;
		
		$passwordSeller->setLabel('Type Your Password');
		
		$confirmPassword = new Zend_Form_Element_Password('confirm_password');
		
		$confirmPassword->setLabel('Type Your Password Again');
		
		$unzipPassword = new Zend_Form_Element_Text('unzip_password');
		
		$unzipPassword->setLabel('Unzip password');		
		
		$passwordHint = new Zend_Form_Element_Text('password_hint');
		
		$passwordhint->setLabel('Password Hint');
				
        $submit = new Zend_Form_Element_Submit('submit');

        $submit->setAttrib('id', 'submitbutton');

        $this->addElements(array($userNameSeller,$userEmailSeller,$passwordSeller,$confirmPassword,$unzipPassword,$passwordHint,$submit));

    }

}

